package com.rescue.forum.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(description = "客户端分页查询救援记录数据")
public class RecordPageQueryVO {
    @ApiModelProperty("救援记录id")
    private Integer rescueRecordId;
    /**
     * 提交人id
     */
    @ApiModelProperty("提交人id")
    private Integer userId;
    /**
     * 0:普通救援,1:一键救援
     */
    @ApiModelProperty("0:普通救援,1:一键救援")
    private Integer rescueType;
    /**
     * 0:已发送,1:已接收，2:已完成，3已取消，4已超时
     */

    @ApiModelProperty("0:已发送,1:已接收，2:已完成，3已取消，4已超时")
    private Integer rescueStatus;
    /**
     * 灾情坐标
     */
    @ApiModelProperty("经度")
    private Double lon;
    @ApiModelProperty("纬度")
    private Double lat;
    /**
     * 灾情地址
     */
    @ApiModelProperty("灾情地址")
    private String disasterAddress;
    /**
     * 发送时间
     */
    @ApiModelProperty("发送时间")
    private LocalDateTime sendTime;

    @ApiModelProperty("距离单位米")
    private Integer distance;
    /**
     * 完成时间
     */
    @ApiModelProperty("完成时间")
    private LocalDateTime completionTime;

    /**
     * 灾害类型:1地震2火灾3暴雨4洪水5交通事故6其他
     */
    @ApiModelProperty("灾害类型:1地震2火灾3暴雨4洪水5交通事故6其他")
    private Integer disasterTypeId;
    /**
     * 灾情描述
     */

    @ApiModelProperty("灾情描述")
    private String disasterDescriptive;
    /**
     * 救援人id
     */
    @ApiModelProperty("救援人id")
    private Integer rescueUserId;
    @ApiModelProperty("接受救援时经度")
    private Double acceptLon;
    @ApiModelProperty("接受救援时纬度")
    private Double acceptLat;
    @ApiModelProperty("救援人位置")
    private String acceptAddress;
    /**
     * 救援人员到达所需时间
     */
    @ApiModelProperty("救援人员到达所需时间")
    private String rescueArrivalTime;

    @ApiModelProperty("图片路径")
    private List<String> imgS;

    @ApiModelProperty("音频路径")
    private String audioS;

    @ApiModelProperty("视频路径")
    private String videoS;
}
